import 'dart:collection';

class FinancesRecordModel {
  String? amount;
  String? dateTime;
  String? description;

  FinancesRecordModel({this.amount, this.dateTime, this.description});

  FinancesRecordModel.fromJson(Map<String, dynamic> json) {
    amount = json['amount'];
    dateTime = json['dateTime'];
    description = json['description'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = HashMap();
    data['amount'] = amount;
    data['dateTime'] = dateTime;
    data['description'] = description;
    return data;
  }
}